/**
 * @projectName study_java
 * @package chapter_06
 * @className chapter_06.Person
 */
package Decorator;

import lombok.Data;

/**
 * Person
 * @description 人 基类，实现装饰基本方法
 * @author answer_wx
 * @date 2022/6/26 16:46
 * @version 1.0
 */
@Data
public class Person implements IOperation {
    private String name;

    public Person(String name) {
        this.name = name;
    }

    @Override
    public void show() {
        System.out.println(String.format("装扮的%s", getName()));
    }
}